package com.zllkj.mm.api.remote;

import com.zllkj.mm.api.network.BaseResponse;
import com.zllkj.mm.model.entity.CommentReplyVo;
import com.zllkj.mm.model.entity.DynamicBlockItemVo;
import com.zllkj.mm.model.entity.FanFollowListVo;
import com.zllkj.mm.model.entity.NearByGoodsListBean;

import java.util.Map;

import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

public interface DynamicApi {

    @POST("dynamicComment/add")
    Observable<BaseResponse<CommentReplyVo>> addComment(@Body Map<String, Object> map);

    @POST("invitation/add")
    Observable<BaseResponse<String>> addInvite(@Body Map<String, Object> map);

    @POST("dynamicBlock/release")
    Observable<BaseResponse<String>> releaseDynamicBlockUser(@Body Map<String, Object> map);

    @POST("dynamicBlock/list")
    Observable<BaseResponse<DynamicBlockItemVo>> getDynamicBlockList(@Body Map<String, Object> map);

    @POST("dynamicReport/add")
    Observable<BaseResponse<String>> reportErrorDynamic(@Body Map<String, Object> map);

    @POST("dynamicBlock/add")
    Observable<BaseResponse<String>> addBlockUserOrDynamic(@Body Map<String, Object> map);

    @POST("fans/cancelFollow")
    Observable<BaseResponse<String>> cancelUserFollow(@Body Map<String, Object> map);

    @POST("fans/follow")
    Observable<BaseResponse<String>> followUserFollow(@Body Map<String, Object> map);

    @POST("fans/list")
    Observable<BaseResponse<FanFollowListVo>> getFollowList(@Body Map<String, Object> map);

    @POST("dynamic/like")
    Observable<BaseResponse<String>> likeDynamic(@Body Map<String, Object> map);

    @POST("dynamic/cancelLike")
    Observable<BaseResponse<String>> cancelLikeDynamic(@Body Map<String, Object> map);

}
